

from core.himesis import Himesis
import cPickle as pickle
from uuid import UUID

class HS2S_clean(Himesis):
    def __init__(self):
        """
        Creates the himesis graph representing the AToM3 model HS2S_clean.
        """
        # Flag this instance as compiled now
        self.is_compiled = True
        
        super(HS2S_clean, self).__init__(name='HS2S_clean', num_nodes=14, edges=[])
        
        # Add the edges
        self.add_edges([(3, 8), (8, 5), (3, 9), (9, 7), (3, 10), (10, 2), (13, 0), (1, 11), (1, 12), (1, 13), (11, 6), (12, 4)])
        # Set the graph attributes
        self["mm__"] = pickle.loads("""(lp1
S'SimpleDSLTransMM'
p2
a.""")
        self["name"] = """S2S_clean"""
        self["GUID__"] = UUID('7f07726d-14ed-49f9-bd5a-c885396513b5')
        
        # Set the node attributes
        self.vs[0]["mm__"] = """Female_S"""
        self.vs[0]["name"] = """f"""
        self.vs[0]["GUID__"] = UUID('727edaed-3853-4982-9e02-e0f2c68e072b')
        self.vs[1]["mm__"] = """MatchModel"""
        self.vs[1]["GUID__"] = UUID('f0d7231c-7c1f-4877-bb08-112c0499d38a')
        self.vs[2]["mm__"] = """Female_T"""
        self.vs[2]["name"] = """f"""
        self.vs[2]["GUID__"] = UUID('de101004-f579-466b-9781-fca01fb6c565')
        self.vs[3]["mm__"] = """ApplyModel"""
        self.vs[3]["GUID__"] = UUID('387bb1de-9291-46fb-82bf-c4728ca7ba03')
        self.vs[4]["mm__"] = """Male_S"""
        self.vs[4]["name"] = """m"""
        self.vs[4]["GUID__"] = UUID('75cbcb50-4aa3-4088-949c-cd84829b95ee')
        self.vs[5]["mm__"] = """Station_T"""
        self.vs[5]["name"] = """s"""
        self.vs[5]["GUID__"] = UUID('49ec16e9-3641-4802-beb9-892a0698f080')
        self.vs[6]["mm__"] = """Station_S"""
        self.vs[6]["name"] = """s"""
        self.vs[6]["GUID__"] = UUID('11218eea-4e78-421d-a416-c24d20955c3c')
        self.vs[7]["mm__"] = """Male_T"""
        self.vs[7]["name"] = """m"""
        self.vs[7]["GUID__"] = UUID('13d6c6eb-06e9-4eab-9453-3bb4e8f46646')
        self.vs[8]["mm__"] = """apply_contains"""
        self.vs[8]["GUID__"] = UUID('abafd37c-7ad9-4c86-b492-d1b97368586c')
        self.vs[9]["mm__"] = """apply_contains"""
        self.vs[9]["GUID__"] = UUID('b076d17d-e9b6-433c-b7bd-6f10ceee443b')
        self.vs[10]["mm__"] = """apply_contains"""
        self.vs[10]["GUID__"] = UUID('6422dea1-87e2-4fbb-bc98-ccc1fe506402')
        self.vs[11]["mm__"] = """match_contains"""
        self.vs[11]["GUID__"] = UUID('89fef886-cac7-4c69-ab52-91467e98adf3')
        self.vs[12]["mm__"] = """match_contains"""
        self.vs[12]["GUID__"] = UUID('a0f66089-a5c9-44cc-909a-5bc47cd749a6')
        self.vs[13]["mm__"] = """match_contains"""
        self.vs[13]["GUID__"] = UUID('5a1019dc-15e8-40dd-9273-b4713a31ce64')

